package com.ophiux.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ophiux.entity.User;
import com.ophiux.service.UserService;

@RestController
public class TestController {
	@Autowired
	UserService userService;
	
	@RequestMapping("index")
	public String index() {
		User user = userService.getUser();
		
		return "helloworld";
	}
}
